<!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>好友列表</title>
    <!-- Set render engine for 360 browser -->
    <meta name="renderer" content="webkit">
    <!-- No Baidu Siteapp-->
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--<meta name="format-detection" content="telephone = no" />-->
    <!-- Add to homescreen for Chrome on Android -->
    <meta name="mobile-web-app-capable" content="yes">
    <!-- Add to homescreen for Safari on iOS -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="好友列表" />
    <meta name="msapplication-TileColor" content="#090a0a">
    <link rel="stylesheet" href="__ROOT__/static/home/css/css_style.css">
    <script src="__ROOT__/static/home/css/userInfo/layer.mobile-v2.0/layer_mobile/layer.js"></script>
    <script src="__ROOT__/static/home/js/jquery-1.11.1.min.js"></script>
    <link href="__ROOT__/static/home/css/userInfo/layer.mobile-v2.0/layer_mobile/need/layer.css" rel="stylesheet"/>
    <link href="__ROOT__/static/home/css/userInfo/css/mui.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="__ROOT__/static/home/css/userInfo/css/style.css" />
    <link rel="stylesheet" href="__ROOT__/static/home/css/userInfo/css/top_nav.css" />


</head>
<body>
<div style="height: 50px;background-color: powderblue;">
    <div class="top_nav" style=""><a href="{:url('home/Userinfo/index')}">< 返回</a></div>
    <div class="top_navC">好友列表</div>
    <div class="top_nav" id="save"></div>
</div>
<div class="user-order-box">


    <div class="uset-center-content">
        <a href="{:url('home/Userinfo/addFriends')}">
            <dl>
                <dt><p style="font-size: 20px">+ 添加好友</p></dt>
            </dl>
        </a>
        {if condition="!empty($friends)"}
        {volist name='friends' id='v'}
        <a href="{:url('home/Userinfo/friendInfo',array('friendId'=>$v['id']))}" >
            <dl>
                <dt>
                 <input type="hidden" value="{$v['id']}" class="getId">
                 <img style="width: 50px;height: 50px;" src="__ROOT__/{if condition="!empty($v['avatar_url'])"}{$v['avatar_url']}{else /}static/home/css/userInfo/images/default_user_portrait_0.png{/if}">
                {$v['nickname']}
                </dt>
            </dl>
        </a>
        {/volist}

    </div>
    {else /}
    <div style="width: 100%;height: 50px;text-align: center;font-size: 25px;line-height: 50px">暂无好友</div>
    {/if}



</div>

</body>
</html>
